<?php 

header("Content-type: text/html; charset=utf-8");
$str = file_get_contents('http://www.lagou.com/jobs/326851.html');

$preg = "/<h1\stitle=\"(.)+\">/";

$rest = preg_match($preg,$str,$matches);

var_dump($matches,$rest);















 ?>